aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/invoice/[id].js
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/invoice/[id].js')
-rw-r--r--src/routes/invoice/[id].js14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/routes/invoice/[id].js b/src/routes/invoice/[id].js
deleted file mode 100644
index a58d02a1..00000000
--- a/src/routes/invoice/[id].js
+++ /dev/null
@@ -1,14 +0,0 @@
-import { get } from '$lib/utils';
-
-export async function GET({ params }) {
- let { id } = params;
- let {
- amount,
- rate,
- status,
- text,
- user: { username }
- } = await get(`/invoice?uuid=${id}`);
-
- return { body: { amount, id, rate, username, status, text } };
-}